package com.program.houai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @version v1.0
 * @ProjectName: hou
 * @ClassName: BankCardEntity
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/9/12 20:14
 */
@TableName("tb_bank_card")
@Data
@ApiModel(value ="银行卡库",description = "银行卡库的字段")
public class BankCardEntity {


    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private int id;

    @ApiModelProperty(value = "银行卡编号")
    private String bankCode;

    @ApiModelProperty(value = "银行卡名称")
    private String bankName;

    @ApiModelProperty(value = "银行卡背景图")
    private String bankUrl;

    @ApiModelProperty(value = "银行卡小图")
    private String bankLogoUrl;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableLogic
    private int isDeleted;
}
